<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddPicToStartBusiness extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('open_shop_start_business', function (Blueprint $table) {
            $table->string('startShopPic', 512)->comment('门店照片')->default('');
            $table->string('startHotMv', 512)->comment('火爆视频')->default('');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('open_shop_start_business', function (Blueprint $table) {
            $table->dropColumn(['startShopPic', 'startHotMv']);
        });
    }
}
